/**
 * Copyright (c) 2012-2014 All Rights Reserved.
 */
package com.easy.framwork.config;

import java.io.Serializable;

import com.easy.framwork.Interceptor;

/**
 * 
 * @author wy
 * @version v 0.1 2014-1-6 下午9:50:06 wy Exp $
 */
/**
 * 拦截器配置
 * 
 * @author wy
 * @version v 0.1 2014-1-5 下午11:49:51 wy Exp $
 */
public class InterceptorConfig implements Serializable {

    /**  */
    private static final long serialVersionUID = -7509811869814952198L;

    /** 拦截器名称 */
    private String name;

    /** 拦截路径 */
    private String path;

    /** 拦截器 */
    private Interceptor interceptor;

    /** 拦截器类 */
    private Class<? extends Interceptor> interceptorClass;

    /**
     * Getter method for property <tt>name</tt>.
     * 
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * Setter method for property <tt>name</tt>.
     * 
     * @param name name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * Getter method for property <tt>path</tt>.
     * 
     * @return path
     */
    public String getPath() {
        return path;
    }

    /**
     * Setter method for property <tt>path</tt>.
     * 
     * @param path path
     */
    public void setPath(String path) {
        this.path = path;
    }

    /**
     * Getter method for property <tt>interceptor</tt>.
     * 
     * @return interceptor
     */
    public Interceptor getInterceptor() {
        return interceptor;
    }

    /**
     * Setter method for property <tt>interceptor</tt>.
     * 
     * @param interceptor interceptor
     */
    public void setInterceptor(Interceptor interceptor) {
        this.interceptor = interceptor;
    }

    /**
     * Getter method for property <tt>interceptorClass</tt>.
     * 
     * @return interceptorClass
     */
    public Class<? extends Interceptor> getInterceptorClass() {
        return interceptorClass;
    }

    /**
     * Setter method for property <tt>interceptorClass</tt>.
     * 
     * @param interceptorClass interceptorClass
     */
    public void setInterceptorClass(Class<? extends Interceptor> interceptorClass) {
        this.interceptorClass = interceptorClass;
    }

}
